package com.example.wxai.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wxai.pijo.entity.Chat;
import org.springframework.ai.chat.memory.InMemoryChatMemory;
import org.springframework.ai.chat.messages.Message;

import java.util.List;

/**
 * <p>
 * 大聊天表，记录总聊天 服务类
 * </p>
 *
 * @author author
 * @since 2025-02-28
 */
public interface IChatService extends IService<Chat> {

    boolean saveAndMessage(String userId, List<Message> message, String chatId);
}
